del C:\Projects\BuildLog.txt
Echo.  >>C:\Projects\BuildLog.txt
Echo.=================== >>C:\Projects\BuildLog.txt
echo.%Date% >>C:\Projects\BuildLog.txt
echo.%Time% >>C:\Projects\BuildLog.txt
rmdir C:\Projects\EventHandler /s /q >> C:\Projects\BuildLog.txt
md C:\Projects\EventHandler\ >> C:\Projects\BuildLog.txt
cd c:\Projects\EventHandler >> C:\Projects\BuildLog.txt
cpc checkout EventHandler >> C:\Projects\BuildLog.txt
cpc revert . /recursive >> C:\Projects\BuildLog.txt
msbuild.exe EventHandler.proj /t:Build,RunTests,Package >> C:\Projects\BuildLog.txt
Package\Setup.exe /SQLServer "localhost" /TestData /AdminDbUsername "sa" /AdminDbPassword "hmb191" /AppDbUsername "EventHandlerWeb" /AppDbPassword "44cllaof02" /DBName "EventHandlerWeb" /AppAdminUsername "administrator" /AppAdminPassword "password1234" /VirtualDirectoryName "/" /NewWebApplication /SMTPHost "localhost" /WebDirectory "c:\Inetpub\wwwroot\EventHandlerWeb"
